/*
 * cuboid.h
 *
 *  Created on: 19.12.2008
 *      Author: felix
 */
#include <vector>
#include "cube.h"

#ifndef CUBOID_H_
#define CUBOID_H_

struct Color {
	float r,g,b;
};

class Cuboid {
	public:

		Cuboid(int length, int width, int depth, Color color, bool isAnaglyph);

		Cuboid(const Cuboid& c);

		Cuboid& operator=(const Cuboid& c);

		void draw(GLUquadric *quadric);

		void drawPreview(int x, int y, int z, GLUquadric *quadric);

		void setSize(int length, int width, int depth);

		int x, y, z;
		std::vector<Cube> cubes;
		int length, width, depth;
		Color color;
		bool isAnaglyph;

		Cuboid();

};
#endif /* CUBOID_H_ */
